package com.lxw.multidb.controller.dto;

// java
public class ColumnInfo {
    private String name;
    private int dataType;        // java.sql.Types
    private String typeName;     // DB type name, e.g. varchar
    private Integer columnSize;
    private Integer decimalDigits;
    private boolean nullable;
    private String remarks;

    // getters / setters
    public String getName() { return name; }
    public void setName(String name) { this.name = name; }
    public int getDataType() { return dataType; }
    public void setDataType(int dataType) { this.dataType = dataType; }
    public String getTypeName() { return typeName; }
    public void setTypeName(String typeName) { this.typeName = typeName; }
    public Integer getColumnSize() { return columnSize; }
    public void setColumnSize(Integer columnSize) { this.columnSize = columnSize; }
    public Integer getDecimalDigits() { return decimalDigits; }
    public void setDecimalDigits(Integer decimalDigits) { this.decimalDigits = decimalDigits; }
    public boolean isNullable() { return nullable; }
    public void setNullable(boolean nullable) { this.nullable = nullable; }
    public String getRemarks() { return remarks; }
    public void setRemarks(String remarks) { this.remarks = remarks; }
}
